package cn.wolfcode.trip.base.util;

import lombok.Getter;
import lombok.Setter;

@Getter
public class JSONResult {

    private boolean success = true;

    private String msg;

    @Setter
    private Object data;

    public JSONResult mark(String msg){
        success = false;
        this.msg = msg;
        return this;
    }
}
